<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/3/21
  Time: 12:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Admin</title>
</head>
<body>
<%
    List<String> users=(List<String>) application.getAttribute("users");
%>
欢迎<%=session.getAttribute("user")%>(session)访问网站，系统用户数<%=users==null?0:users.size()%>
<br>用户名单如下：<br>
<%
    if(users!=null) {
        for (String user : users)
            out.println(user+"<br>");
    }
%>
</body>
</html>
